<DIV id="Subapp">
<div class="Line">
<?php
	//=====================Query Form=========================
	form_pr('MQuery','','_response/call.php?get=Compliance/rs_OMR','post');
	mn_field('hidden','ED','Trigger','Filters','','','',''); ?>
<table width="100%" height="28" border="0" cellpadding="1" cellspacing="1">
    <tr bgcolor="#BACCD1">
      <td colspan="6">Ongoing Monitoring Report </td>
    </tr>
    <tr bgcolor="#F8F8F8">
      <td>&nbsp;</td>
      <td><?php
	  echo 'De ';
	  mn_field('date','ED','TStart','','MQuery','7','','inputbox');
      echo ' a ';
	  mn_field('date','ED','TEnd','','MQuery','7','','inputbox');
	  ?></td>
      <td>Estado:
      <?php
	  $SearchStatus = "SELECT sttFlag AS ID, stt_Word AS NAME FROM hd_sysstatus WHERE stt_Sistema = 14 OR stt_Sistema = 0";
	  mn_field('select','ED','Status','',$SearchStatus,'','','inputbox');
	  ?></td>
      <td>Tipo: <?php
	  $Qur = "Caixa;Origem;Todos#1;2;3";
	  mn_field('hselect','ED','Type','',$Qur,'','','inputbox');
	  ?></td>
      <td><?php mn_field('button','ED','Task','Consultar','','','','" onClick="subform(\'MQuery\',\'Subcontents\');'); ?></td>
    </tr>
</table>
</form>
</div>
<div id="Subcontents"></div>
<DIV id="element" class="Line"></DIV></DIV>